// Menu
// --------------------------------------------------
.site-brand-wrapper {
  flex-shrink: 0;
}

.site-nav-toggle {
  float: right;
  position: static;
  top: 10px;
}

.site-nav {
  flex-grow: 1;

  +mobile() {
    transform: translateY(10px);
  }
}

.menu-item-active a {
  background: #e1e1e1;
}

.menu {
  // float: right;
  margin: 0;

  +mobile() {
    margin: 10px 0;
    padding: 0;
  }

  br {
    display: none;
  }

  .menu-item {
    margin: 0;

    +mobile() {
      display: block;
      margin-top: 5px;
    }

    .badge {
      background-color: #fff;
      border-radius: 10px;
      color: $black-light;
      display: inline-block;
      font-weight: $font-weight-bolder;
      line-height: 1;
      margin-left: 5px;
      padding: 1px 4px;
      text-align: center;
      text-shadow: 1px 1px 0 rgba(0, 0, 0, .1);
      white-space: nowrap;

      +mobile() {
        float: right;
        margin: .35em 0 0 0;
      }
    }

    a, span.exturl {
      border: none;
      border-radius: 2px;
      padding: 0 10px;
      transition-property: background;

      +mobile() {
        text-align: left;
      }

      &:hover {
        @extend .menu-item-active a;
      }

      disable-touch-hover();
    }
  }

  a::before {
    display: none;

    +mobile() {
      display: block;
    }
  }

  +mobile() {
    float: none;
  }
}
